﻿using System;

namespace ShippingManage.DataAccessor.Entities
{
	public class VienDongShipping : Dng.Core.ModifiedEntity
	{
		#region Database attributes
		Guid _Id = Guid.Empty;
		DateTime _DateCreated = Global.Now;
		Guid _SenderId = Guid.Empty;
		Guid _RecepientId = Guid.Empty;
		DateTime _Created = Global.Now;
		Guid _CreatedId = Guid.Empty;
		DateTime _Modified = Global.Now;
		Guid _ModifiedId = Guid.Empty;
		string _TrackNumber = "";
		short _ServiceType = 0;
		string _TotalPakage = "";
		short _Height = 0;
		short _Width = 0;
		short _Length = 0;
		decimal _DeclaredValue = 0.0m;
		decimal _InsuranceAmount = 0.0m;
		decimal _UnitPrice = 0.0m;
		decimal _TaxableAmount = 0.0m;
		decimal _ExtractCharge = 0.0m;
		string _SenderDriverLicenseId = "";
		string _Description = "";
		#endregion


		public VienDongShipping() { }

		#region Database properties
		public Guid Id
		{
			set { _Id = value; }
			get { return _Id; }
		}

		public DateTime DateCreated
		{
			set { _DateCreated = value; }
			get { return _DateCreated; }
		}

		public Guid SenderId
		{
			set { _SenderId = value; }
			get { return _SenderId; }
		}

		public Guid RecepientId
		{
			set { _RecepientId = value; }
			get { return _RecepientId; }
		}

		public DateTime Created
		{
			set { _Created = value; }
			get { return _Created; }
		}

		public Guid CreatedId
		{
			set { _CreatedId = value; }
			get { return _CreatedId; }
		}

		public DateTime Modified
		{
			set { _Modified = value; }
			get { return _Modified; }
		}

		public Guid ModifiedId
		{
			set { _ModifiedId = value; }
			get { return _ModifiedId; }
		}

		public string TrackNumber
		{
			set { _TrackNumber = value; }
			get { return _TrackNumber; }
		}

		public short ServiceType
		{
			set { _ServiceType = value; }
			get { return _ServiceType; }
		}

		public string TotalPakage
		{
			set { _TotalPakage = value; }
			get { return _TotalPakage; }
		}

		public short Height
		{
			set { _Height = value; }
			get { return _Height; }
		}

		public short Width
		{
			set { _Width = value; }
			get { return _Width; }
		}

		public short Length
		{
			set { _Length = value; }
			get { return _Length; }
		}

		public decimal DeclaredValue
		{
			set { _DeclaredValue = value; }
			get { return _DeclaredValue; }
		}

		public decimal InsuranceAmount
		{
			set { _InsuranceAmount = value; }
			get { return _InsuranceAmount; }
		}

		public decimal UnitPrice
		{
			set { _UnitPrice = value; }
			get { return _UnitPrice; }
		}

		public decimal TaxableAmount
		{
			set { _TaxableAmount = value; }
			get { return _TaxableAmount; }
		}

		public decimal ExtractCharge
		{
			set { _ExtractCharge = value; }
			get { return _ExtractCharge; }
		}

		public string SenderDriverLicenseId
		{
			set { _SenderDriverLicenseId = value; }
			get { return _SenderDriverLicenseId; }
		}

		public string Description
		{
			set { _Description = value; }
			get { return _Description; }
		}

		#endregion
	}
}